package com.lx.perferred.mall.security.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @author lX
 * @version JDK 8
 * @className IgnoreUrlsConfig (此处以class为例)
 * @date 2024/11/30
 * @description TODO
 */
@ConfigurationProperties(prefix = "secure.ignored")
public class IgnoreUrlsConfig {

  /**
   * 保存白名单路径
   */
  private List<String> urls = new ArrayList<>();

  public List<String> getUrls() {
    return urls;
  }

  public void setUrls(List<String> urls) {
    this.urls = urls;
  }
}
